//--------------------------------------------------------------
//
// Qizhi Zhang 
// ezhung@gmail.com
// http://www.moorwind.com
//
//--------------------------------------------------------------
package reader.dao
{
	import reader.model.vo.UserVO;
	
	public interface IAccountDAO
	{
		function insertUser(user:UserVO):int;
		
		function updateUser(user:UserVO):Boolean;
		
		function updateGetBlogType(user:UserVO):Boolean;
		
		function updateShowLabelType(user:UserVO):Boolean;
		
		function updateAutoSaveType(user:UserVO):Boolean;
		
		function updatePassword(user:UserVO):Boolean
		
		function deleteUser(user:UserVO):Boolean;
		
		function selectUser(userid:int):UserVO;
		
		function selectUserByName(username:String):UserVO;
		
		function getCount(username:String):uint;
	}
}